-- Wriiten for Dahherfall Unity by Harbinger451
Quest: PROST018
DisplayName: Reward a Benefactor
-- Message panels
QRC:

QuestorOffer:  [1000]
<ce>                        Music to my ears, %pcn.
<ce>                  I need you to deliver a reward to an
<ce>                   important benefactor in __palace_
<ce>                       within =traveltime_ days.
<ce>                     You will receive a temple fee
<ce>                 of _gold_ gold pieces when you return.
<ce>                    Please tell me you can do this?
                                     <--->
<ce>             Prove your worth to the House of Dibella, %pcn.
<ce>                I need you to deliver the rite of sacred
<ce>               sex to an important benefactor in __palace_
<ce>                       within =traveltime_ days.
<ce>                     You will receive a temple fee
<ce>                 of _gold_ gold pieces when you return.
<ce>            It will improve your standing if you can do this!
                                     <--->
<ce>                   May Dibella watch over you, %pcn.
<ce>                 You have =traveltime_ days to deliver
<ce>                   the rite of sacred sex to __palace_.
<ce>                I'll make sure you receive a temple fee
<ce>                 of _gold_ gold pieces on your return.
<ce>        This is for an important benefactor, so please make it count!

RefuseQuest:  [1001]
<ce>                      Sigh. I shall have to find
<ce>                       some other temple servant
<ce>                         to perform this task.
                                     <--->
<ce>                                 %oth!
<ce>                Reliable help is so hard to find these days.
<ce>             The standard of devotee is really starting to drop!
                                     <--->
<ce>                                 %oth!
<ce>            It's just not right that you pick and choose like this!
<ce>             You should be grateful I give you a choice at all!

AcceptQuest:  [1002]
<ce>                   Go to _benefactor_ of the _palace_
<ce>                     in __palace_ and give them
<ce>                           Dibella's Embrace.
<ce>                          Make it good, %pcn. 
<ce>              This benefactor has been very generous to the
<ce>            House of Dibella and we need it to stay that way.
                                     <--->
<ce>        Go and give Dibella's Embrace to _benefactor_ of _palace_ in __palace_.
<ce>            We rely on the good graces of wealthy benefactors such as this. 
<ce>             So make it count, %pcn. _benefactor_ is a very generous soul.

QuestFail:  [1003]
<ce>                   Dibella is disappointed in you %pcn!
<ce>                    And I am too. You let yourself down.
<ce>                            You let me down!
<ce>                      And you let the temple down!
                                     <--->
<ce>                  I heard you failed in your task, %pcn!
<ce>                        I'm disappointed in you.
<ce>                   In future, put Dibella's grace before
<ce>                        your own personal desires.
                                     <--->
<ce>                 The rumour is you turned down _benefactor_!
<ce>                     That's very disappointing, %pcn.
<ce>                   Your personal predilections should have
<ce>                  nothing to do with the rites of Dibella.

QuestComplete:  [1004]
<ce> Fantastic job, %pcf!
<--->
<ce> Good work, %pcf!
<--->
<ce> Well done, %pcf!
<--->
<ce> That couldn't have gone better, %pcf!
<--->
<ce> Good show, %pcf!
<--->
<ce> You certainly got the goods, %pcf... 
<ce> and you know how to use 'em!
<--->
<ce> You're full of surprises, ain't ya %pcf!
<--->
<ce> Damn, but you're good %pcf!
<--->
<ce> You're the greatest, %pcf.
<ce> I think I could fall for you.
<--->
<ce> You're quite the catch, %pcf.
<ce> I wish I could make you mine!

RumorsDuringQuest:  [1005]
I hear that _benefactor_ is greatly looking forward to a reward from the House of Dibella... I wonder what it can be.
<--->
_benefactor_ has been acting very excitedly lately... I think all that charity is making them loopy.

RumorsPostfailure:  [1006]
_qgiver_ has been cursing the name %pcn.

RumorsPostsuccess:  [1007]
_benefactor_ seems very pleased with their reward from the House of Dibella.

QuestorPostsuccess:  [1008]
_benefactor_ sends their heart-felt regards, %pcf. What can I do for you?

QuestorPostfailure:  [1009]
How can I help you %pcn. I hope you are here to make up for your failure with _benefactor_.

QuestLogEntry:  [1010]
%qdt:
 _qgiver_ of __qgiver_ in ___qgiver_
 has given me the task of rewarding
 _benefactor_ in the _palace_ of  __palace_. 
 I must do so within =traveltime_ days and
 then return for my own reward.

Message:  1011
<ce>                                 %oth!
<ce>                     Please tell me you are from
<ce>                       _qgiver_ in __qgiver_?
<ce>                   You're certainly more attractive
<ce>                 than the rewards they usually send!
                                     <--->
<ce>                      Well hello there my beauty!
<ce>                    Dibella shines her light on me,
<ce>                   if you are indeed my reward from
<ce>                        _qgiver_ in __qgiver_!
<ce>                          Please say you are?
                                     <--->
<ce>               My, but you're quite the looker, aren't you!
<ce>          Please tell me you were sent by _qgiver_ in __qgiver_,
<ce>                I have an urgent need for Dibella's Embrace.

Message:  1012
<ce>                     Then guide me in our devotion.
<ce>                                  ...
<ce>                      Yes, I feel Dibella's embrace.
<ce>                         And her arms around me.
<ce>                    Her love does indeed overwhelm me.
<ce>                                  ...
<ce>                          Now let me touch you.
<ce>                         And yes, you touch me.
<ce>                          My word, that's good.
<ce>                      Caress me. Yes, that's right.
<ce>                                  ...
<ce>                           There. Yes, there!
<ce>                                  ...
<ce>                               Yes, YES!
<ce>                           Kiss me! Love me!
<ce>                         Use me as I use you!
<ce>                                  ...
<ce>                             Mmmmh! Ooooh!
<ce>                                Aaaaaah!
<ce>                                  ...
<ce>                 By Dibella and all the divines, %pcf.
<ce>                That was the most ... pious experience
<ce>                             i've ever had!
                                     <--->
<ce>                     Then guide me in our devotion.
<ce>                                  ...
<ce>                      Yes, I feel Dibella's embrace.
<ce>                    Yes-yes, I feel her arms around me.
<ce>               Yes-yes-yes, her love does indeed overwhelm me.
<ce>                                  ...
<ce>                 My, but there's something about you, %pcf.
<ce>                      I can barely contain myself!
<ce>                                  ...
<ce>                      Take me. Oh my! You know how.
<ce>                       Love me. Yes, that's right.
<ce>                                  ...
<ce>                          Caress me! Feel me!
<ce>                     Bend me to your will and whim!
<ce>                                  ...
<ce>                        Keep going! Don't stop!
<ce>                                  ...
<ce>                       Ooooh, goodness gracious!
<ce>                                 YES!
<ce>                                  ...
<ce>                  Praises to the Lady of Beauty herself,
<ce>                  you certainly have a gift, my friend!

Message:   1013
<ce>                           Oh! My mistake.
<ce>                          Please forgive me.
<ce>                   I knew it was too good to be true.
                                     <--->
<ce>                                 %oth!
<ce>                  I knew you were too sexy to have
<ce>                       been sent by the temple!
<ce>                 They tend to keep the good ones to
<ce>                              themselves.
                                     <--->
<ce>                                 %oth!
<ce>                   I just can't seem to catch a break!
<ce>                Oh well, here's hoping they get here soon.

Message:   1014
<ce>                    That was a good job well done, %pcf.
<ce>               You should return to _qgiver_ for your reward.
                                     <--->
<ce>                        Thank you so much, %pcf.
<ce>               I really needed that, it was most edifying.
<ce>              Now go and return to _qgiver_ for your reward.
                                     <--->
<ce>                                 %oth!
<ce>                 My, but your a gifted one aren't you, %pcf!
<ce>               You should return to _qgiver_ to claim your fee.

Message:   1015
<ce>                    Why are you still here, peasant?
<ce>                         Guards! Guards! Guards!
                                     <--->
<ce>                          Ugh! Go away peasant!
<ce>                     I'm calling the guards. Guards!
                                     <--->
<ce>                                 %oth!
<ce>                 Guards! There's a peasant harassing me!

Message:  1016
%qdt:
 I delivered a reward for the House of Dibella
 by giving _benefactor_ in the _palace_
 of __palace_ the sacred rite
 of Dibella's Embrace. I earned _gold_ gold pieces.

Message:  1017
<ce>                      Dibella's favor upon you %pcn.
<ce>                         Thank you for giving
<ce>                  _benefactor_ %g3 well deserved reward.
<ce>                      By Dibella's grace you can now
<ce>                        be given a temple fee of
<ce>                          _gold_ gold pieces.
                                     <--->
<ce>                  You've done great service to the temple
<ce>                 by giving _benefactor_ %g3 just reward.
<ce>                     You truly do deserve your fee of
<ce>                           _gold_ gold pieces.
                                     <--->
<ce>            Well done, %pcn. I hear you fulfilled your obligation
<ce>            with suitable decorum. _benefactor_ was smitten with you
<ce>                    apparently, so you've earned your fee of
<ce>                           _gold_ gold pieces.


QBN:
Item _gold_ gold

Person _qgiver_ group Questor
Person _benefactor_ factiontype Province

Place _palace_ remote palace

Clock _traveltime_ 16.00:00 22.00:00

Foe _guard1_ is Knight
Foe _guard2_ is Knight

-- Quest start-up:
	start timer _traveltime_ 
	log 1010 step 0 
	place npc _benefactor_ at _palace_

variable _traveltime_ 

_outoftime_ task:
	when _traveltime_ and not _benefactorclicked_
	change repute with _qgiver_ by -2
	remove log step 0
	end quest

_benefactorclicked_ task:
	clicked npc _benefactor_

_meetbenefactor_ task:
	when _benefactorclicked_
	prompt 1011 yes _carryon_ no _changemind_

_carryon_ task:
	say 1012 

_changemind_ task:
	say 1013

_afterglow_ task:
	when _carryon_ and _benefactorclicked_
    train pc Etiquette
	say 1014

_disappointed_ task:
	when _changemind_ and _benefactorclicked_
	say 1015
    create foe _guard1_ every 0 minutes 1 times with 100% success
    create foe _guard2_ every 0 minutes 1 times with 100% success

_qgiverclicked_ task:
	clicked npc _qgiver_

_success_ task:
	when _carryon_ and _qgiverclicked_
	say 1017
	give pc _gold_
	remove log step 0
	log 1016 step 1
	end quest

_failure_ task:
	when _changemind_ and _qgiverclicked_
	say 1003 
	remove log step 0
	end quest 
